#ifndef __ATMOS_MasterServerPacketID_h__
#define __ATMOS_MasterServerPacketID_h__

#include "ATMOS_Common.h"

namespace ATMOS {

//! packet sub-id for packets with id API_MASTER_SERVER
typedef unsigned char MasterServerPacketID;
enum
{
	MSPID_NULL,

	MSPID_MS_REGISTER_CLIENT,
	MSPID_MS_UNREGISTER_CLIENT,
	MSPID_MS_GAME_CONNECTION_ESTABLISHED,	// the game connection has been established
	MSPID_MS_GAME_CONNECTION_FAILED,		// the game connection has failed
	MSPID_MS_GAME_CONNECTION_REQUEST,		// a game client requests to connect to a specific server
	MSPID_MS_REQUEST_SERVER_LIST,
				
	MSPID_CL_GAME_CONNECTION_APPROVED,		// the MS agrees to the request and says to connect		
	MSPID_CL_GAME_CONNECTION_DENIED,
	MSPID_CL_RECEIVE_SERVER_LIST
};

} // end namespace ATMOS

#endif